<template>
  <div class="ts-container">
          <div class="ts-card">
              <div class="ts-card-head">
                  <span class="ts-cardicon"></span>
                  <span class="ts-cardname">
                      <p>不如我们从头开始</p>
                      <em>碧池大大</em>
                      <i class="tag-ts">校园</i>
                  </span>
                  
              </div>
              <img src="../../images/zhanshi.jpg" alt="">
              <div class="ts-card-foot">
                  <p>欢乐童年系列之一</p>
                  <span class="ts-cardfoot-icon">
                      <b class="ts-cardicon1"></b>
                      <i>22</i>
                      <b class="ts-cardicon1"></b>
                      <i>22</i>
                  </span>
              </div>
          </div>
          <div class="ts-card">
              <div class="ts-card-head">
                  <span class="ts-cardicon"></span>
                  <span class="ts-cardname">
                      <p>不如我们从头开始</p>
                      <em>碧池大大</em>
                  </span>
                  <i class="tag-ts">校园</i>
              </div>
              <img src="../../images/zhanshi2.jpg" alt="">
              <div class="ts-card-foot">
                  <p>欢乐童年系列之一</p>
                  <span class="ts-cardfoot-icon">
                      <b class="ts-cardicon1"></b>
                      <i>22</i>
                      <b class="ts-cardicon1"></b>
                      <i>22</i>
                  </span>
              </div>
          </div>
          <div class="ts-card">
              <div class="ts-card-head">
                  <span class="ts-cardicon"></span>
                  <span class="ts-cardname">
                      <p>不如我们从头开始</p>
                      <em>碧池大大</em>
                  </span>
                  <i class="tag-ts">校园</i>
              </div>
              <img src="../../images/zhanshi.jpg" alt="">
              <div class="ts-card-foot">
                  <p>欢乐童年系列之一</p>
                  <span class="ts-cardfoot-icon">
                      <b class="ts-cardicon1"></b>
                      <i>22</i>
                      <b class="ts-cardicon1"></b>
                      <i>22</i>
                  </span>
              </div>
          </div>
          <div class="ts-card">
              <div class="ts-card-head">
                  <span class="ts-cardicon"></span>
                  <span class="ts-cardname">
                      <p >不如我们从头开始</p>
                      <em>碧池大大</em>
                  </span>
                  <i class="tag-ts">校园</i>
              </div>
              <img src="../../images/zhanshi2.jpg" alt="">
              <div class="ts-card-foot">
                  <p>欢乐童年系列之一</p>
                  <span class="ts-cardfoot-icon">
                      <b class="ts-cardicon1"></b>
                      <i>22</i>
                      <b class="ts-cardicon1"></b>
                      <i>22</i>
                  </span>
              </div>
          </div>
      </div>
</template>

<script>
export default {

}
</script>

<style scoped lang="less">
.el-menu-demo{
  margin: 0 auto;
}
.total{
   padding-left:125px;
   display: flex;
   box-shadow:0px 5px #F2F2F2 ;
}
.el-pagination{
  float:left;
  display: flex;
}
.item{
    width:150px;
    height:60px;
    line-height:60px;
}
/* 主页面 */
.ts-container{
    height:655px;
    width: 100%;
    margin: 0 auto;
    padding:20px;
    background-color: #F5F5F5;
    margin-top: 0px;
    position: relative;
    text-align: center;
}
.ts-container .ts-card{
    position: relative;
    border-radius: 15px;
    width: 280px;
    margin: 0 10px;
    background-color: #fff;
    margin-bottom: 15px;
    display: inline-block;
    font-size: 0;
    vertical-align: top;
    cursor: pointer;
    text-align: left;
}
.ts-card .ts-card-head{
    height: 80px;
    width: 100%;
    text-align: left;
}
.ts-cardicon{
    display: inline-block;
    width: 40px;
    height: 40px;
    background: url(../../images/touxiang.png) center no-repeat;
    padding: 10px;
    padding-top: 18px;
}
.ts-cardname{
    display: inline-block;
    width: 164px;
    text-align: left;
    vertical-align: top;
}
.ts-cardname p{
    font-weight: normal;
    font-size: 16px;
    color: #131719;
    display: block;
    margin-top: 15px;
    margin-left:0;
}
.ts-cardname em{
    font-size: 12px;
    color:#999;
    margin-left:0;
}
.ts-card-head i {
    display: inline-block;
    font-size: 14px;
    width: 48px;
    height: 20px;
    border-radius: 10px;
    line-height: 20px;
    text-align: center;
    vertical-align: top;
    margin-top: 15px;
}
.ts-card .tag-ts{
    position: absolute;
    top:12px;
    right:9px;
    color: #ffc007;
    border: 1px solid #ffc007;
}
.ts-card img{
    width:100%;
}
.ts-card-foot{
    margin-top: 15px;
    height: auto;
    width: 100%;
}
.ts-card-foot p{
    padding-top: 16px;
    font-size: 14px;
    padding-left: 10px;
    color: #4c4c4c;
}
.ts-cardfoot-icon{
    display: block;
    padding-left: 10px;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    color: #cccccc;
}
.ts-cardicon1{
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url(../../images/spriteicon.png) 0 -73px no-repeat;
    cursor: pointer;
}
.ts-cardfoot-icon i{
    padding: 5px;
    color: #ccc;
}
.ts-cardicon2{
    display: inline-block;
    width: 20px;
    height: 14px;
    background: url(../../images/spriteicon.png) 0 -150px no-repeat;
    cursor: pointer;
}
</style>